import React from 'react';

function Child2(props) {
  const { id, name } = props.data;
  console.log(name, 'name Child2');
  return (
    <div>
      name:{name}id:{id}
    </div>
  );
}

export default React.memo(Child2);
